package com.wuxiaoqin.server.service;

import com.wuxiaoqin.server.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuxiaoqin.uitls.respObj.RespBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-10-29
 */
public interface IAddressService extends IService<Address> {

    List<Address> getAddress(Integer id);

    RespBean addressModify(Integer id, String addressid, String address, String name, String phone);

    RespBean addStateModify(Integer uId, Integer addressid);

    RespBean addAddress(Integer userid, String address, String name, String phone, Integer state);

    RespBean deleteAddress(Integer addressId);
}
